$(function() {
	//页面滚动到一定距离时，顶部背景颜色变化
	$(window).scroll(function(){
		var h_num = $(window).scrollTop();
		if (h_num>190) {
			$('.shopping_head1').css("background","#4fba98");
		} else{
			$('.shopping_head1').css("background","transparent");
		}
	})
	//点击进入交易详情
	$('.all_details').each(function(){
		$(this).find('.select_data_box').on('tap',function(){
			window.location.href = 'deal_details.html';
		})
	})
})